<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="GENERATOR" content="MCBN">
<link rel="stylesheet" type="text/css" href="/Public/admin/css/style.css" /><link rel="stylesheet" type="text/css" href="/Public/js/tbox/box.css" />
<script type="text/javascript" src="/Public/js/jquery.js"></script><script type="text/javascript" src="/Public/js/common.js"></script><script type="text/javascript" src="/Public/js/tbox/box.js"></script><script type="text/javascript" src="/Public/js/rcalendar.js"></script><script type="text/javascript" src="/Public/js/kindeditor/kindeditor.js"></script>
<script language="javascript"> 
function chpasswd(){
	ui.box.load("/admin.php?m=System&a=admin_change_password", {title:'修改密码'});
}
</script> 
</head>
<body>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
    <TD vAlign=top background="__PUBLIC__/images/mail_leftbg.gif" width="17">
    <IMG src="__PUBLIC__/images/left-top-right.gif" width="17" height="29">
    </TD>
    <TD vAlign="top" background="__PUBLIC__/images/content-bg.gif">
      <TABLE id="table2" class="left_topbg" border="0" cellSpacing="0" cellPadding="0" width="100%" height="31">
        <TBODY>
        <TR>
          <TD height="31">
            <DIV class="titlebt"><?php echo ($pagetitle); ?></DIV>
            </TD>
           </TR>
          </TBODY>
       </TABLE>
     </TD>
    <TD vAlign="top" background="__PUBLIC__/images/mail_rightbg.gif" width="16">
    <IMG src="__PUBLIC__/images/nav-right-bg.gif" width="16" height="29">
    </TD>
</TR>
<TR>
    <TD vAlign="center" background="__PUBLIC__/images/mail_leftbg.gif">&nbsp;</TD>
    <TD align="left" vAlign="top" bgColor="#f7f8f9">

<div class="tools"> 
	<div class="add"><span><a href="<?php echo U('Content/editti',array(fid=>$fid));?>">添加</a></span></div>
	<div class="del"><span><a href="javascript:void(0);" onclick="del(0,'ti','ti');">删除</a></span></div>
	<div class="add"><span><a href="javascript:void(0);" onclick="hui(0,'ti','ti');">恢复</a></span></div>
</div>
<div class="content">
<!-----------------------------------------内容开始--------------------------------------------------->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tabBox">
<tr class="tabTitleMain">
    <td width="5%" class="selectAll"><a href="javascript:;" id="selall">全选</a></td>
    <td width="5%">ID号</td>
    <td width="9%">标题</td>
    <td width="9%">创建时间</td>
    <td width="9%">修改时间</td>
    <td width="9%">录入用户名</td>
    <td width="10%">操作</td>
</tr>


<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$l): $mod = ($i % 2 );++$i;?><tr class="tabTextMain" id="From_1" onmouseout="this.style.background='#FFFFFF';" onmouseover="this.style.background='#fbf435';">
	<td><input type="checkbox" name="ids" id="ids" value="<?php echo ($l["id"]); ?>"></td>
	<td><?php echo ($l["id"]); ?></td>
	<td><?php echo ($l["name"]); ?></td>
	<td><?php echo (date('Y-m-d H:i:s',$l["ctime"])); ?></td>
	<td><?php echo (date('Y-m-d H:i:s',$l["stime"])); ?></td>
	<td><?php echo ($l["username"]); ?></td>
	<td>
		<a href="<?php echo U('Content/editti',array(id=>$l[id]));?>" target="_blank">修改</a>
		|
		<a href="<?php echo U('Content/ti_xuan',array(tid=>$l[id]));?>" target="_blank">选项</a>
		|
		<?php if($l['state']==1){ ?>
			<a href="javascript:;" onclick="del(<?php echo ($l["id"]); ?>,'ti','ti');">删除</a>
		<?php }if($l['state']==3){ ?>
			<a href="javascript:;" onclick="hui(<?php echo ($l["id"]); ?>,'ti','ti');">恢复</a>
		<?php } ?>
	</td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
  
</table> 
<div class="page"><?php echo ($page); ?></div>
<!-----------------------------------------内容结束--------------------------------------------------->
</div>

<script type="text/javascript" src="__JS__/admin_common.js"></script>

    
    
    
    
    </TD><TD background=__PUBLIC__/images/mail_rightbg.gif>&nbsp;</TD>
</TR>
<TR>
    <TD vAlign="bottom" background="__PUBLIC__/images/mail_leftbg.gif">
    <IMG src="__PUBLIC__/images/buttom_left2.gif" width="17" height="17"></TD>
    <TD background="__PUBLIC__/images/buttom_bgs.gif">
    <IMG src="__PUBLIC__/images/buttom_bgs.gif" width="17" height="17"></TD>
    <TD vAlign="bottom" background="__PUBLIC__/images/mail_rightbg.gif">
    <IMG src="__PUBLIC__/images/buttom_right2.gif" width="16" height="17">
    </TD>
</TR>
</TBODY>
</TABLE>
</body>
</html>